package indi.caibo.service_edu.service;

import indi.caibo.service_edu.entity.EduCourseCollect;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程收藏 服务类
 * </p>
 *
 * @author Bo Cai
 * @since 2021-12-21
 */
public interface EduCourseCollectService extends IService<EduCourseCollect> {

    void collect(String memberId, String courseId);

    Boolean isCollected(String memberId, String courseId);

    void cancelCollect(String memberId, String courseId);

    List<String> getCourseIdsByMemberId(String memberId);
}
